package com.heihx.dto;

import com.heihx.entity.SetmealDish;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@Schema(description = "新增套餐时传递的数据模型")
public class SetmealDTO implements Serializable {

    @Schema(description = "主键值")
    private Long id;

    //分类id
    @Schema(description = "分类id")
    private Long categoryId;

    //套餐名称
    @Schema(description = "套餐名称")
    private String name;

    //套餐价格
    @Schema(description = "套餐价格")
    private BigDecimal price;

    //状态 0:停用 1:启用
    @Schema(description = "套餐状态")
    private Integer status;

    //描述信息
    @Schema(description = "套餐描述")
    private String description;

    //图片
    @Schema(description = "套餐图片")
    private String image;

    //套餐菜品关系
    @Schema(description = "套餐与菜品的对应关系")
    private List<SetmealDish> setmealDishes = new ArrayList<>();

}
